import { Base } from '../../../../utils/base.js';
class sutravel extends Base {
  constructor() {
    super();
  }

  //提交出差
  postEvection(place, callback) {
    var param = {
      url: '/api/work/evection/add',
      type: "post",
      data: place,
      sCallback: function (data) {
        callback && callback(data);
      }
    };
    this.request(param);
  }
 //审批人
 getPeople(place, callback) {
  var param = {
    url: '/api/work/work/getReviewed',
    type: "get",
    data: {},
    sCallback: function (data) {
      callback && callback(data);
    }
  };
  this.request(param);
}
};
export { sutravel };